package com.coder.rental.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.coder.rental.entity.User;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author tuboyuan
 * @since 2025-09-04
 */
public interface IUserService extends IService<User> {
        User selectByUsername(String username);
        List<String> selectRoleName(int id);
        Page<User> searchByPage(Page<User> page, User user);
        boolean delete(String ids);
        boolean bindRole(Integer userId, List<Integer> list);
}
